package com.huarui.purchaseOrder.engine;

import com.huarui.purchaseOrder.model.PurOrSaleOrder;
import com.huarui.purchaseOrder.model.PurOrSaleOrderDetail;
import com.huarui.task.service.TaskEngineServiceAware;



public interface PurchaseEngine extends TaskEngineServiceAware {

	//void commit(PurOrSaleOrder order, PurOrSaleOrderDetail detail);
	
	void commit2unregistSeller(PurOrSaleOrder order , PurOrSaleOrderDetail detail);
	
	void commit2registedSeller(PurOrSaleOrder order , PurOrSaleOrderDetail detail);

	void disallow(int orderId);

	void edit(PurOrSaleOrder order, PurOrSaleOrderDetail detail);

	void accept(PurOrSaleOrder order, PurOrSaleOrderDetail detail);

	void ship(int orderId);

	void receive(int orderId);

}
